using System;
using System.Threading.Tasks;
using Acme.BookStore.Kehus.Dtos;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Acme.BookStore.Kehus
{
    public interface IKehuAppService : IApplicationService
    {
        Task<KehuDto> GetAsync(string id);
        
        Task<PagedResultDto<KehuDto>> GetListAsync(PagedAndSortedResultRequestDto input);
        
        Task<PagedResultDto<KehuDto>> GetListAsync(KehuSearchDto input);
        
        Task<PagedResultDto<KehuDto>> SearchByNameAsync(KehuNameSearchDto input);
        
        Task<KehuDto> CreateAsync(CreateKehuDto input);
        
        Task<KehuDto> UpdateAsync(string id, CreateKehuDto input);
        
        Task DeleteAsync(string id);
    }
} 